<div style="overflow:hidden; width:auto; border: 1px solid gray; margin:5px; padding: 10px;">
	<h2>{$item->title}</h2>
	{if $item->imageLocation == "top"} <img src="{$item->image->getUrl()}" /><br>{/if}
	{if $item->imageLocation == "left"} <img src="{$item->image->getUrl()}" style="float:left;"/>{/if}
	{if $item->imageLocation == "right"} <img src="{$item->image->getUrl()}" style="float:right;"/>{/if}
	{$item->contents}
	{if $item->imageLocation == "bottom"} <img src="{$item->image->getUrl()}" />{/if}
</div>